package org.shiro.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.shiro.basic.entity.SystemUser;

/**
 * system_user表操作接口
 *
 * @author LiKun
 * @date 2021/11/2 22:06
 */
public interface SystemUserMapper extends BaseMapper<SystemUser> {
    /**
     * 根据username查询用户数据
     *
     * @param username 用户名称
     *
     * @return SystemUser
     */
    SystemUser selectByUsername(@Param("username") String username);
}
